package com.gxa.service;

import com.gxa.pojo.Article;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public interface ArticleService {

    public boolean addArticle(Article article);

    public List<Article> showArticlesByPage(int pageNum,int pageSize);

    public boolean deleteArticleByTitle(String title);

    public List<Article> selectArticleByTitleOrType(String title,String type);

    public boolean batchDelete(String[] titles);
}
